import config from '@/config'
import http from '@/utils/request'
export default {
	menu: {
		url: `${config.API_URL}/home/menu`,
		name: '获取菜单',
		get: async function () {
			// eslint-disable-next-line no-return-await
			return await http.get(this.url)
		}
	}
}
